.class public Lcom/estrongs/android/pop/app/ESFileSharingActivity;
.super Lcom/estrongs/android/pop/esclasses/ESActivity;
.source "ESFileSharingActivity.java"


# instance fields
.field private d:Z

.field private e:Lcom/estrongs/android/statistics/b;

.field private f:Landroid/app/Dialog;


# direct methods
.method public constructor <init>()V
    .locals 1

    .line 1
    invoke-direct {p0}, Lcom/estrongs/android/pop/esclasses/ESActivity;-><init>()V

    const/4 v0, 0x1

    .line 2
    iput-boolean v0, p0, Lcom/estrongs/android/pop/app/ESFileSharingActivity;->d:Z

    const/4 v0, 0x0

    .line 3
    iput-object v0, p0, Lcom/estrongs/android/pop/app/ESFileSharingActivity;->e:Lcom/estrongs/android/statistics/b;

    return-void
.end method

.method private A()V
    .locals 2

    .line 1
    invoke-virtual {p0}, Landroid/app/Activity;->getIntent()Landroid/content/Intent;

    move-result-object v0

    .line 2
    const-class v1, Lcom/estrongs/android/pop/app/LocalFileSharingActivity;

    invoke-virtual {v0, p0, v1}, Landroid/content/Intent;->setClass(Landroid/content/Context;Ljava/lang/Class;)Landroid/content/Intent;

    .line 3
    invoke-virtual {p0, v0}, Landroid/app/Activity;->startActivity(Landroid/content/Intent;)V

    .line 4
    invoke-virtual {p0}, Landroid/app/Activity;->finish()V

    return-void
.end method

.method static synthetic a(Lcom/estrongs/android/pop/app/ESFileSharingActivity;)Z
    .locals 0

    .line 1
    iget-boolean p0, p0, Lcom/estrongs/android/pop/app/ESFileSharingActivity;->d:Z

    return p0
.end method

.method static synthetic a(Lcom/estrongs/android/pop/app/ESFileSharingActivity;Z)Z
    .locals 0

    .line 2
    iput-boolean p1, p0, Lcom/estrongs/android/pop/app/ESFileSharingActivity;->d:Z

    return p1
.end method

.method static synthetic b(Lcom/estrongs/android/pop/app/ESFileSharingActivity;)V
    .locals 0

    .line 1
    invoke-direct {p0}, Lcom/estrongs/android/pop/app/ESFileSharingActivity;->A()V

    return-void
.end method


# virtual methods
.method public a(Landroid/app/Activity;Ljava/lang/String;)V
    .locals 1

    .line 3
    invoke-static {}, Lcom/estrongs/android/ui/pcs/f;->k()Lcom/estrongs/android/ui/pcs/f;

    move-result-object v0

    .line 4
    invoke-virtual {v0}, Lcom/estrongs/android/ui/pcs/f;->i()Z

    move-result v0

    if-eqz v0, :cond_0

    .line 5
    new-instance v0, Lcom/estrongs/android/pop/app/ESFileSharingActivity$c;

    invoke-direct {v0, p0}, Lcom/estrongs/android/pop/app/ESFileSharingActivity$c;-><init>(Lcom/estrongs/android/pop/app/ESFileSharingActivity;)V

    invoke-static {p1, p2, v0}, Lcom/estrongs/android/pop/utils/p;->a(Landroid/app/Activity;Ljava/lang/String;Landroid/content/DialogInterface$OnDismissListener;)V

    const/4 p1, 0x0

    .line 6
    iput-boolean p1, p0, Lcom/estrongs/android/pop/app/ESFileSharingActivity;->d:Z

    goto :goto_0

    .line 7
    :cond_0
    new-instance v0, Lcom/estrongs/android/pop/app/ESFileSharingActivity$d;

    invoke-direct {v0, p0, p1, p2}, Lcom/estrongs/android/pop/app/ESFileSharingActivity$d;-><init>(Lcom/estrongs/android/pop/app/ESFileSharingActivity;Landroid/app/Activity;Ljava/lang/String;)V

    .line 8
    invoke-static {p1, v0}, Lcom/estrongs/android/pop/utils/p;->a(Landroid/app/Activity;Lcom/estrongs/android/ui/pcs/e$c;)Lcom/estrongs/android/ui/dialog/q$n;

    :goto_0
    return-void
.end method

.method protected onActivityResult(IILandroid/content/Intent;)V
    .locals 1

    .line 1
    invoke-static {}, Lcom/estrongs/android/ui/pcs/f;->k()Lcom/estrongs/android/ui/pcs/f;

    move-result-object v0

    invoke-virtual {v0}, Lcom/estrongs/android/ui/pcs/f;->b()Lcom/estrongs/android/ui/pcs/e;

    move-result-object v0

    if-eqz v0, :cond_0

    .line 2
    invoke-virtual {v0, p1, p3, p2}, Lcom/estrongs/android/ui/pcs/e;->a(ILandroid/content/Intent;I)V

    :cond_0
    return-void
.end method

.method public onCreate(Landroid/os/Bundle;)V
    .locals 5

    .line 1
    invoke-super {p0, p1}, Lcom/estrongs/android/pop/esclasses/ESActivity;->onCreate(Landroid/os/Bundle;)V

    .line 2
    invoke-virtual {p0}, Lcom/estrongs/android/pop/esclasses/ESActivity;->u()Z

    move-result p1

    if-nez p1, :cond_0

    .line 3
    invoke-virtual {p0}, Landroid/app/Activity;->finish()V

    return-void

    .line 4
    :cond_0
    invoke-static {}, Lcom/estrongs/android/pop/utils/q;->b()Z

    move-result p1

    if-eqz p1, :cond_1

    .line 5
    invoke-static {}, Lcom/estrongs/android/statistics/b;->b()Lcom/estrongs/android/statistics/b;

    move-result-object p1

    iput-object p1, p0, Lcom/estrongs/android/pop/app/ESFileSharingActivity;->e:Lcom/estrongs/android/statistics/b;

    const-string v0, "act3"

    const-string v1, "es_file_sharing"

    .line 6
    invoke-virtual {p1, v0, v1}, Lcom/estrongs/android/statistics/b;->b(Ljava/lang/String;Ljava/lang/String;)V

    const/4 p1, 0x2

    new-array p1, p1, [Ljava/lang/String;

    const v0, 0x7f1109c7

    .line 7
    invoke-virtual {p0, v0}, Landroid/app/Activity;->getString(I)Ljava/lang/String;

    move-result-object v0

    const/4 v1, 0x0

    aput-object v0, p1, v1

    const v0, 0x7f110414

    invoke-virtual {p0, v0}, Landroid/app/Activity;->getString(I)Ljava/lang/String;

    move-result-object v0

    const/4 v2, 0x1

    aput-object v0, p1, v2

    .line 8
    new-instance v0, Lcom/estrongs/android/ui/dialog/q$n;

    invoke-direct {v0, p0}, Lcom/estrongs/android/ui/dialog/q$n;-><init>(Landroid/content/Context;)V

    const v3, 0x7f110071

    invoke-virtual {v0, v3}, Lcom/estrongs/android/ui/dialog/q$n;->b(I)Lcom/estrongs/android/ui/dialog/q$n;

    const/4 v3, -0x1

    new-instance v4, Lcom/estrongs/android/pop/app/ESFileSharingActivity$b;

    invoke-direct {v4, p0}, Lcom/estrongs/android/pop/app/ESFileSharingActivity$b;-><init>(Lcom/estrongs/android/pop/app/ESFileSharingActivity;)V

    .line 9
    invoke-virtual {v0, p1, v3, v4}, Lcom/estrongs/android/ui/dialog/q$n;->a([Ljava/lang/CharSequence;ILandroid/content/DialogInterface$OnClickListener;)Lcom/estrongs/android/ui/dialog/q$n;

    .line 10
    invoke-virtual {v0, v1}, Lcom/estrongs/android/ui/dialog/q$n;->d(Z)Lcom/estrongs/android/ui/dialog/q$n;

    new-instance p1, Lcom/estrongs/android/pop/app/ESFileSharingActivity$a;

    invoke-direct {p1, p0}, Lcom/estrongs/android/pop/app/ESFileSharingActivity$a;-><init>(Lcom/estrongs/android/pop/app/ESFileSharingActivity;)V

    invoke-virtual {v0, p1}, Lcom/estrongs/android/ui/dialog/q$n;->a(Landroid/content/DialogInterface$OnDismissListener;)Lcom/estrongs/android/ui/dialog/q$n;

    .line 11
    invoke-virtual {v0}, Lcom/estrongs/android/ui/dialog/q$n;->c()Lcom/estrongs/android/ui/dialog/q;

    move-result-object p1

    iput-object p1, p0, Lcom/estrongs/android/pop/app/ESFileSharingActivity;->f:Landroid/app/Dialog;

    .line 12
    iput-boolean v2, p0, Lcom/estrongs/android/pop/app/ESFileSharingActivity;->d:Z

    return-void

    .line 13
    :cond_1
    invoke-direct {p0}, Lcom/estrongs/android/pop/app/ESFileSharingActivity;->A()V

    .line 14
    invoke-virtual {p0}, Landroid/app/Activity;->finish()V

    return-void
.end method

.method protected onDestroy()V
    .locals 1

    .line 1
    invoke-super {p0}, Lcom/estrongs/android/pop/esclasses/ESActivity;->onDestroy()V

    .line 2
    invoke-virtual {p0}, Lcom/estrongs/android/pop/esclasses/ESActivity;->u()Z

    move-result v0

    if-nez v0, :cond_0

    return-void

    .line 3
    :cond_0
    iget-object v0, p0, Lcom/estrongs/android/pop/app/ESFileSharingActivity;->f:Landroid/app/Dialog;

    if-eqz v0, :cond_1

    invoke-virtual {v0}, Landroid/app/Dialog;->isShowing()Z

    move-result v0

    if-eqz v0, :cond_1

    .line 4
    iget-object v0, p0, Lcom/estrongs/android/pop/app/ESFileSharingActivity;->f:Landroid/app/Dialog;

    invoke-virtual {v0}, Landroid/app/Dialog;->dismiss()V

    :cond_1
    return-void
.end method

.method protected onPause()V
    .locals 0

    .line 1
    invoke-super {p0}, Lcom/estrongs/android/pop/esclasses/ESActivity;->onPause()V

    return-void
.end method

.method protected onResume()V
    .locals 0

    .line 1
    invoke-super {p0}, Lcom/estrongs/android/pop/esclasses/ESActivity;->onResume()V

    return-void
.end method
